<?php
namespace Config;
class Db
{
	/**
	* mysql配置
	*/
	/*public static $mysql = array(
		'host' => '192.168.1.234',
		'port' => 3306,
		'user' => 'root',
		'password' => 'root',
		'dbname' => 'qmyg',
		'charset' => 'utf8',
	);*/
	public static $mysql = array(
		//'host' => '120.76.73.30',
		'host' => '127.0.0.1',
		'port' => 3306,
		'user' => 'cncardsql',
		'password' => 'Yb4P2K4KZr6Lm',
		'dbname' => 'cncardsql',
		'charset' => 'utf8',
	);

	/**
	* redis配置
	*/
	public static $redis = array(
		//'host' => '112.74.207.94',
		'host' => '127.0.0.1',
		'port' => 6380,
		'password' => '',
	);
} 